package cn.com.aiton.common.model.gbt1049.signal;


import cn.com.aiton.common.model.BaseDomain;

public class PhaseParamDomain extends BaseDomain {
    //路口编号
    private String crossID;
    //相位序号。从1开始，取值2位数字
    private String phaseNo;
    //相位名称
    private String phaseName;
    //相位特征。取值1：关键，0：非关键，9：其他
    private String attribute;
    //车道序号列表。至少包含一个车道序号<LaneNo>
    private String laneNoList;

    public PhaseParamDomain(String crossID, String phaseNo, String phaseName, String attribute, String laneNoList, String pedDirList) {
        this.crossID = crossID;
        this.phaseNo = phaseNo;
        this.phaseName = phaseName;
        this.attribute = attribute;
        this.laneNoList = laneNoList;
        this.pedDirList = pedDirList;
    }

    public PhaseParamDomain() {
    }

    @Override
    public String toString() {
        return "PhaseParamDomain{" +
                "crossID='" + crossID + '\'' +
                ", phaseNo='" + phaseNo + '\'' +
                ", phaseName='" + phaseName + '\'' +
                ", attribute='" + attribute + '\'' +
                ", laneNoList='" + laneNoList + '\'' +
                ", pedDirList='" + pedDirList + '\'' +
                '}';
    }

    public String getCrossID() {
        return crossID;
    }

    public void setCrossID(String crossID) {
        this.crossID = crossID;
    }

    public String getPhaseNo() {
        return phaseNo;
    }

    public void setPhaseNo(String phaseNo) {
        this.phaseNo = phaseNo;
    }

    public String getPhaseName() {
        return phaseName;
    }

    public void setPhaseName(String phaseName) {
        this.phaseName = phaseName;
    }

    public String getAttribute() {
        return attribute;
    }

    public void setAttribute(String attribute) {
        this.attribute = attribute;
    }

    public String getLaneNoList() {
        return laneNoList;
    }

    public void setLaneNoList(String laneNoList) {
        this.laneNoList = laneNoList;
    }

    public String getPedDirList() {
        return pedDirList;
    }

    public void setPedDirList(String pedDirList) {
        this.pedDirList = pedDirList;
    }

    //相位放行人行道所在的方向列表。至少包含一个放行人行道方向<Direction>，取值见表B.8，如果有同方向分段式放行，可在所在方向后追加一位来描述放行段
    //序号	值	说明
    //1	0	北
    //2	1	东北
    //3	2	东
    //4	3	东南
    //5	4	南
    //6	5	西南
    //7	6	西
    //8	7	西北
    private String pedDirList;
}
